Total Complexity | 14 |
Dependencies | 2 |
Dependents | 6 |
Total lines | 117 |
Lines of code | 64 |
Logical lines of code | 39 |
Comment lines | 24 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_amount_used_per_gift_card_for_order_total() | 60 | 3 | 14 | |
get_gift_cards_from_order() | 65 | 2 | 9 | |
__construct() | 91 | 1 | 2 | |
upsert_gift_card_to_session() | 72 | 1 | 5 | |
remove_gift_card_from_session() | 72 | 1 | 5 | |
session_has_gift_cards() | 75 | 1 | 4 | |
session_has_gift_card() | 75 | 1 | 4 | |
destroy_session() | 81 | 1 | 3 | |
upsert_gift_cards_to_order_meta() | 66 | 1 | 8 | |
save_session_gift_cards_to_order_meta() | 76 | 1 | 4 | |
get_gift_cards_from_session() | 70 | 1 | 6 |